package com.cssl.serice;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cssl.pojo.SysDept;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface SysDeptSerice extends IService<SysDept> {

    //查询部门的id每个大部门
    public  List<SysDept> dgcyss(@Param("parent_id") int parent_id);

    //查询每个部门下的各个小部门传部门
    public  List<SysDept> ll(@Param("id") Object id);

    public  List<SysDept> dgcy();

    IPage<SysDept> select(IPage<SysDept> page);

    public int selectDept(@Param("dept_id") List<Integer> dept_id);
}
